package com.aiwiown.face.response;

import com.aiwiown.face.ApiResponse;
import com.aiwiown.face.domain.discern.FaceLicenseplateResult;
import com.aiwiown.face.internal.mapping.ApiField;
import com.aiwiown.face.internal.mapping.ApiListField;

import java.util.List;

/**
 * @ClassName : FaceLicenseplateResponse
 * @Description :
 * @Author : dbin0123
 * @Date: 2020-06-13 14:46
 */
public class FaceLicenseplateResponse extends ApiResponse {
    private static final long serialVersionUID = -6715762062576386125L;


    /**
     * 被检测的图片在系统中的标识
     */
    @ApiField("image_id")
    private String imageId;
    /**
     * 检测出的车牌数组，具体包含内容见下文
     * 注：如果没有检出车牌，则返回结果为空数组
     */
    @ApiListField("results")
    private List<FaceLicenseplateResult> results;

    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    public List<FaceLicenseplateResult> getResults() {
        return results;
    }

    public void setResults(List<FaceLicenseplateResult> results) {
        this.results = results;
    }
}
